
export default {
  name: "分割线",
  component: "DDivider",
  icon: "cmp-input",
  cmpType: "component",
  attrs: {
    direction: "horizontal",
  },
  attrWidgets: [
    {
      name: "方向",
      key: "direction",
      component: "ARadioGroup",
      pos: "base",
      labelWidthAuto: false,
      visible: true,
      hidden: false,
      attrs: {
        selectAttrs: {},
        optionAttrs: {
          label: "label",
          value: "value",
        },
        options: [
          { label: "水平", value: "horizontal" },
          { label: "垂直", value: "vertical" },
        ],
      },
    },
  ],
  events: [],
  style: {
    width: 120,
    height: 1,
    left: 0,
    top: 0,
    padding: [4, 0, 4, 0],
    backgroundColorValue: "#f2f2f2",
  },
  class: [],
};
